// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   SourceFile

package com.sgame.android.network.util;


public final class MakeCmdUrl
{

    public static String resetPassword(String s1, String s2)
    {
        return getUrl(s1, s2, "users/reset_password");
    }

    public static String getSession(String s1, String s2)
    {
        return getUrl(s1, s2, "session");
    }

    public static String getUsers(String s1, String s2)
    {
        return getUrl(s1, s2, "users");
    }

    public static String updateUser(String s1, String s2)
    {
        return getUrl(s1, s2, "user_updates");
    }

    public static String getCPI(String s1, String s2)
    {
        return getUrl(s1, s2, "cpi");
    }

    public static String getCPIProducts(String s1, String s2)
    {
        return getUrl(s1, s2, "cpi/products");
    }

    public static String noAction(String s1, String s2)
    {
        return getUrl(s1, s2, "");
    }

    public static String h(String s1, String s2)
    {
        return getUrl(s1, s2, "");
    }

    public static String registerUser(String s1, String s2)
    {
        return getUrl(s1, s2, "users");
    }

    public static String getUserCurrent(String s1, String s2)
    {
        return getUrl(s1, s2, "opensocial/people/@me/@self");
    }

    public static String getUser(String s1, String s2, String userId) //a
    {
        return getUrl(s1, s2, "opensocial/people/@userId/@self").replace("@userId", userId);
    }

    public static String getUserFriends(String s1, String s2, String s3)
    {
        return getUrl(s1, s2, "opensocial/people/@userId/@friends").replace("@userId", s3);
    }

    public static String getUserGameFriends(String s1, String s2, String gameId)
    {
        return getUrl(s1, s2, "opensocial/people/@gameId/@friends").replace("@userId", gameId);
    }

    public static String getInvitations(String s1, String s2)
    {
        return getUrl(s1, s2, "invitations");
    }

    public static String authorizeUser(String s1, String s2)
    {
        return getUrl(s1, s2, "oauth/authorize");
    }

    public static String getUserBlackList(String s1, String s2, String s3)
    {
        s2 = s3;
        return getUrl(s1, s2, "opensocial/blacklist/@userId/@all").replace("@userId", s2);
    }

    public static String checkUserInBackList(String s1, String s2, String s3)
    {
        s2 = s3;
        return getUrl(s1, s2, "opensocial/blacklist/@userId/@all/@targetUserId").replace("@userId", s2);
    }

    public static String m(String s1, String s2)
    {
        return getUrl(s1, s2, "opensocial/ngword");
    }

    public static String n(String s1, String s2)
    {
        return getUrl(s1, s2, "opensocial/appdata/@me/@self/@app");
    }

    public static String validateUser(String s1, String s2)
    {
        return getUrl(s1, s2, "users/validate");
    }

    public static String getBadges(String s1, String s2)
    {
        return getUrl(s1, s2, "badges");
    }

    public static String q(String s1, String s2)
    {
        a.booleanValue();
        return getUrl(s1, s2, "");
    }

    public static String getGames(String s1, String s2)
    {
        return getUrl(s1, s2, "games");
    }

    public static String sendNotification(String s1, String s2)
    {
        return getUrl(s1, s2, "opensocial/remote_notification");
    }

    public static String t(String s1, String s2)
    {
        return getUrl(s1, s2, "opensocial/remote_notification/@me/@self/@app");
    }

    public static String e(String s1, String s2, String s3)
    {
        s2 = s3;
        return getUrl(s1, s2, "opensocial/leaderboards/@app/@leaderboardId").replace("@leaderboardId", s2);
    }

    public static String f(String s1, String s2, String s3)
    {
        s2 = s3;
        return getUrl(s1, s2, "opensocial/leaderboards/@app/@leaderboardIds").replace("@leaderboardIds", s2);
    }

    public static String sendEmail(String s1, String s2)
    {
        return getUrl(s1, s2, "opensocial/sendemail/@app");
    }

    public static String v(String s1, String s2)
    {
        return getUrl(s1, s2, "ab/service_variants");
    }

    public static String g(String s1, String s2, String s3)
    {
        return getUrl(s1, s2, "users/device_accounts/@deviceId".replace("@deviceId", s3));
    }

    public static String h(String s1, String s2, String s3)
    {
        s2 = s3;
        return getUrl(s1, s2, "opensocial/leaderboards/@app/@leaderboardId/@me/@all").replace("@leaderboardId", s2);
    }

    public static String i(String s1, String s2, String s3)
    {
        s2 = s3;
        return getUrl(s1, s2, "opensocial/leaderboards/@app/@leaderboardId/@me/@friends").replace("@leaderboardId", s2);
    }

    public static String a(String s1, String s2, String s3, String s4)
    {
        s2 = s3;
        s2 = s4;
        return getUrl(s1, s2, "opensocial/leaderboards/@app/@leaderboardId/@userId/@self").replace("@leaderboardId", s2).replace("@userId", s2);
    }

    public static String j(String s1, String s2, String s3)
    {
        s2 = s3;
        return getUrl(s1, s2, "opensocial/leaderboards/@app/@leaderboardId/@me/@self").replace("@leaderboardId", s2);
    }

    public static String k(String s1, String s2, String s3)
    {
        s2 = s3;
        return getUrl(s1, s2, "opensocial/leaderboards/@app/@leaderboardId/@me/@self").replace("@leaderboardId", s2);
    }

    public static String w(String s1, String s2)
    {
        return getUrl(s1, s2, "session");
    }

    private static String getUrl(String s1, String s2, String s3)
    {
        return (new StringBuilder("https://")).append(s1).append((new StringBuilder("/1/")).append(s1 = s2).append("/").toString()).append(s3).toString();
    }

    private static Boolean a = true;

}
